home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 08 - 1992 / 08.03 Jul 92 / Equation Compiler / Demo.r < prev    next >
Encoding:
Text File  |  1991-05-08  |  1.4 KB  |  146 lines  |  [TEXT/KAHL]

  1. * Resource file for demo program
  2. * Compile using RMaker
  3.  
  4. Demo.π.rsrc
  5. ????????
  6.  
  7. Type DLOG
  8. ,300
  9. Eqn Compiler Demo Program
  10. 45 10 335 500
  11. Invisible NoGoAway
  12. 0
  13. 0
  14. 300
  15.  
  16. Type ALRT
  17. ,301
  18. 100 120 225 380
  19. 301
  20. 5555
  21.  
  22. Type DITL
  23. ,300
  24. 24
  25.  
  26. button
  27. 265 80 285 140
  28. Quit
  29.  
  30. button
  31. 240 10 260 70
  32. Compile
  33.  
  34. button
  35. 265 10 285 70
  36. Plot
  37.  
  38. editText
  39. 15 65 48 480
  40.  
  41. staticText Disabled
  42. 15 15 30 60
  43. f(x) =
  44.  
  45. staticText Disabled
  46. 100 20 115 40
  47. a
  48.  
  49. staticText Disabled
  50. 125 20 140 40
  51. b
  52.  
  53. staticText Disabled
  54. 150 20 165 40
  55. c
  56.  
  57. staticText Disabled
  58. 175 20 190 40
  59. d
  60.  
  61. staticText Disabled
  62. 200 20 215 40
  63. e
  64.  
  65. editText
  66. 100 50 116 150
  67. 0
  68.  
  69. editText
  70. 125 50 141 150
  71. 0
  72.  
  73. editText
  74. 150 50 166 150
  75. 0
  76.  
  77. editText
  78. 175 50 191 150
  79. 0
  80.  
  81. editText
  82. 200 50 216 150
  83. 0
  84.  
  85. staticText Disabled
  86. 75 10 90 60
  87. coeffs:
  88.  
  89. staticText Disabled
  90. 240 160 257 240
  91. plot range:
  92.  
  93. staticText Disabled
  94. 240 245 255 265
  95. x
  96.  
  97. staticText Disabled
  98. 265 245 282 265
  99. y
  100.  
  101. editText
  102. 240 270 256 370
  103. -5
  104.  
  105. editText
  106. 240 380 256 480
  107. 5
  108.  
  109. editText
  110. 265 270 281 370
  111. -5
  112.  
  113. editText
  114. 265 380 281 480
  115. 5
  116.  
  117. userItem Disabled
  118. 57 168 232 472
  119.  
  120. Type DITL
  121. ,301
  122. 2
  123.  
  124. button
  125. 85 20 105 60
  126. OK
  127.  
  128. staticText Disabled
  129. 15 75 110 240
  130. ^0
  131.  
  132. Type STR#
  133. ,128
  134. 11
  135. Null equation.
  136. Memory allocation error.
  137. Numeric constant is too long.
  138. Invalid numeric constant.
  139. Expecting operand or function.
  140. Missing operator.
  141. Unrecognized character(s).
  142. Missing left parenthesis in function.
  143. Unbalanced Parentheses.
  144. Too many pending operations.
  145. An unexpected error has occurred.
  146.